home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re ODF bug? < prev    next >
Encoding:
Internet Message Format  |  1996-08-16  |  1.6 KB  |  [TEXT/ttxt]

  1. Subject:     Re: ODF bug?
  2. Sent:        8/16/96 11:15 AM
  3. Received:    8/16/96 11:21 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I have discovered that FW_ODPart's ReadPartInfo() is not being called when
  9. >a document made by may editor is inserted or dragged into an already open
  10. >document, say a document belonging to ODFDraw.
  11. >
  12. >This means that InternalizeFrame() does not get called and that's not good,
  13. >at least not if one wants to store some of the frame's data.
  14. >
  15. >This doesn't seem to be correct behavior. It seems that
  16. >FW_InsertPartFromFile() initiates the process within OpenDoc to insert, so
  17. >I suspect that it needs to do something else besides what it is doing to
  18. >make sure that OpenDoc calls ReadPartInfo(). Any ideas?
  19. >
  20. >Arni
  21. >
  22. >Arni F. McKinley
  23. >President
  24. >MetaMind Software, Inc.
  25. >Mill Valley, CA 94941
  26. >motion@nbn.com
  27. >www.nbn.com/people/minds
  28. >_______________________________________
  29. >
  30.  
  31. I am not sure this is a bug in ODF. I put a debugstr in 
  32. ODFNothing::ReadPartInfo, it is called when I open a ODFNothing document 
  33. (that's nomal), it is not called when I dragged the document in the 
  34. PanelEditor which is not an ODF Part. 
  35.  
  36. I think I know why, when you drag or insert a document the container 
  37. recreates a brand new frame.
  38.  
  39. ........................................................................
  40.  Henri Lamiraux                                      lamiraux@apple.com
  41.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  42. ........................................................................
  43.  
  44.  
  45.